import request from '@/utils/request'

export function createTransportEnterpriseInfo(param) {
    return request({
        url: '/api/console/transportEnterprise/create',
        method: 'post',
        data: param
    })
}

export function updateTransportEnterpriseInfo(param) {
    return request({
        url: '/api/console/transportEnterprise/updateInfo',
        method: 'post',
        data: param
    })
}

export function queryTransportEnterpriseList(param) {
    return request({
        url: '/api/console/transportEnterprise/queryList',
        method: 'post',
        data: param
    })
}

export function queryTransportEnterpriseInfo(param) {
    return request({
        url: '/api/console/transportEnterprise/queryDetail',
        method: 'post',
        data: param
    })
}

export function deleteTransportEnterpriseInfo(param) {
    return request({
        url: '/api/console/transportEnterprise/deleteInfo',
        method: 'post',
        data: param
    })
}
